package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.ContractStatus;
import com.ygqh.baby.ao.ContractType;
import com.ygqh.baby.ao.DataStatus;

public class AdminContract {
    private Long id;

    private String contractCode;

    private Long supplierId;

    private BigDecimal contractPrice;

    private BigDecimal quantity;

    private String categoryId;

    private String contractMode;

    private String settlementMode;

    private String settlementType;

    private BigDecimal discount;

    private ContractStatus contractStatus;

    private ContractType contractType;

    private BigDecimal preMoney;

    private BigDecimal pickMoney;

    private BigDecimal endMoney;

    private BigDecimal prePercent;

    private BigDecimal pickPercent;

    private BigDecimal endPercent;

    private BigDecimal earnestMoney;

    private String leader;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private DataStatus status;

    private String cancelReason;
    private String frameCode;
    private String remark;
    private Boolean isUpload;
    private List<AdminContractDetail> contractDetails = new ArrayList<>();
    private AdminSupplier adminSupplier;
    private Long supplementCount; //补充协议数量
    
    public ContractStatus getContractStatus() {
		return contractStatus;
	}

	public void setContractStatus(ContractStatus contractStatus) {
		this.contractStatus = contractStatus;
	}

	public ContractType getContractType() {
		return contractType;
	}

	public void setContractType(ContractType contractType) {
		this.contractType = contractType;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public List<AdminContractDetail> getContractDetails() {
		return contractDetails;
	}

	public void setContractDetails(List<AdminContractDetail> contractDetails) {
		this.contractDetails = contractDetails;
	}

	public AdminSupplier getAdminSupplier() {
		return adminSupplier;
	}

	public void setAdminSupplier(AdminSupplier adminSupplier) {
		this.adminSupplier = adminSupplier;
	}

	public Long getSupplementCount() {
		return supplementCount;
	}

	public void setSupplementCount(Long supplementCount) {
		this.supplementCount = supplementCount;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode == null ? null : contractCode.trim();
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public BigDecimal getContractPrice() {
        return contractPrice;
    }

    public void setContractPrice(BigDecimal contractPrice) {
        this.contractPrice = contractPrice;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    public String getContractMode() {
        return contractMode;
    }

    public void setContractMode(String contractMode) {
        this.contractMode = contractMode == null ? null : contractMode.trim();
    }

    public String getSettlementMode() {
        return settlementMode;
    }

    public void setSettlementMode(String settlementMode) {
        this.settlementMode = settlementMode == null ? null : settlementMode.trim();
    }

    public String getSettlementType() {
        return settlementType;
    }

    public void setSettlementType(String settlementType) {
        this.settlementType = settlementType == null ? null : settlementType.trim();
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    

    public BigDecimal getPreMoney() {
        return preMoney;
    }

    public void setPreMoney(BigDecimal preMoney) {
        this.preMoney = preMoney;
    }

    public BigDecimal getPickMoney() {
        return pickMoney;
    }

    public void setPickMoney(BigDecimal pickMoney) {
        this.pickMoney = pickMoney;
    }

    public BigDecimal getEndMoney() {
        return endMoney;
    }

    public void setEndMoney(BigDecimal endMoney) {
        this.endMoney = endMoney;
    }

    public BigDecimal getPrePercent() {
        return prePercent;
    }

    public void setPrePercent(BigDecimal prePercent) {
        this.prePercent = prePercent;
    }

    public BigDecimal getPickPercent() {
        return pickPercent;
    }

    public void setPickPercent(BigDecimal pickPercent) {
        this.pickPercent = pickPercent;
    }

    public BigDecimal getEndPercent() {
        return endPercent;
    }

    public void setEndPercent(BigDecimal endPercent) {
        this.endPercent = endPercent;
    }

    public BigDecimal getEarnestMoney() {
        return earnestMoney;
    }

    public void setEarnestMoney(BigDecimal earnestMoney) {
        this.earnestMoney = earnestMoney;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader == null ? null : leader.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    
    public String getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason == null ? null : cancelReason.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

	public Boolean getIsUpload() {
		return isUpload;
	}

	public void setIsUpload(Boolean isUpload) {
		this.isUpload = isUpload;
	}

	public String getFrameCode() {
		return frameCode;
	}

	public void setFrameCode(String frameCode) {
		this.frameCode = frameCode;
	}
    
}